var Express = require('express'),
    Router = Express.Router(),

    abusePolicy = require('../policies/policy'),

    abuseController = require('../controllers/abuse.controller');

Router.route('/reportAbuse').all(abusePolicy.isAllowed).post(abuseController.reportAbuse);

Router.route('/getAllAbuses').all(abusePolicy.isAllowed).post(abuseController.getAllAbuses);

module.exports = Router;


